﻿using System;

namespace FluentPS.Attributes
{
    [AttributeUsage(AttributeTargets.Property)]
    public class PSFieldAttribute : Attribute
    {
        public PSFieldAttribute(string fieldUid)
        {
            try
            {
                FieldUid = new Guid(fieldUid);
            }
            catch
            {}
        }

        public Guid FieldUid { get; set; }
    }
}
